package com.sealer.pattern.behavioral.visitor;

/**
 * Created by sealer on 17/04/09.
 */
public class Wheel implements CarElement {
    private String name;

    public Wheel(String name) {
        this.name = name;
    }

    @Override
    public void accept(CarElementVisitor carElementVisitor) {
        carElementVisitor.visit(this);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
